//显示物体
export type Data_DisplayObject = {
    scripts?: any[]
    id?: string,
    children?: Data_DisplayObject[]
}

// export const mapData: Data_DisplayObject = {

// }

//UI提示界面
export const uiPrefabData: Data_DisplayObject = {
    scripts: [
        { scriptName: "Transform", x: 128, y: 128, rotation: 0 },
    ],
    children: [
        {
            id: "background",
            scripts: [
                { scriptName: "Transform", x: 0, y: 0, rotation: 0 },
                { scriptName: "ImageRenderer", imageName: "assets/notice.png" }
            ]
        },
        {
            id: "notice",
            scripts: [
                {scriptName: "Transform", x: 150, y: 75, rotation: 0},
                {scriptName: "TextRenderer", text: "你好。 ", fontSize: 48}
            ]
        }
    ]
}

//物品预置体
export const itemPrefab: Data_DisplayObject = {
    scripts: [
        { scriptName: "Transform", x: 0, y: 0, rotation: 0 },
        { scriptName: "ImageRenderer" },
    ]
}

//NPC预置体
export const npcPrefab: Data_DisplayObject = {
    scripts: [
        { scriptName: "Transform", x: 0, y: 0, rotation: 0 },
        { scriptName: "ImageRenderer" },
    ]
}